module right_rotate (
    input  [31:0] in_data,
    input  [4:0]  dis,
    output [31:0] out_data
);

    assign out_data = (in_data >> dis) | (in_data << (32 - dis));
    
endmodule